Post by Dan Musicant:Transferring mail from Agent to Thunderbird is done folder by folder.
:If you have hundreds of mail folders then it can be a chore.
:Post back if you want instructions for transferring mail.
Hi Ralph,
I'm curious about this... using Thunderbird for email. Have been using
Agent 1.93 for many years for both email and newsgroups. Have done a ton
of newsgroups but very very little in recent years. Even so, I have a
lot of downloaded newsgroup posts saved and am subscribed to scores of
newsgroups.
I just counted and in this particular of my ~ Agent installs (each is on
a local PC), there are about 45 email folders.
Please post instructions on how I would convert to using Thunderbird for
emails. I'm kinda aware that Agent 1.93 handles HTML badly. I get some
posts that are hell to deal with and I have to copy email content into a
file and give it extension .htm or .html to make sense of it and deal
with it.
Thunderbird uses the 'mbox' file format for folders in 'Local Folders'.
Agent can export folders to an 'mbox' file (Agent calls this a 'Unix
message file'). There are slight differences between Agent's file
format and Thunderbird -- but the differences can be corrected by
editing the file and doing a find/replace.
The find/replace is best done in Notepad++.
But first, let's check that your Thunderbird is still using the 'mbox'
file format for local folders.
0. In Thunderbird, go to "Tools >> Account Settings >> Local Folders"
and look for the setting "Message Store Type".
screen-shot: <
Loading Image...>
(a) If it is set to "File per folder (mbox)", then you're OK.
(b) If it is set to "File per message (maildir)", then the
instructions below are not going to work.
(c) If this setting is not there, you're also OK, and you have
an older version of Thunderbird which only supports 'mbox'.
To move an email folder from Agent into Thunderbird.
1. In Agent, select an email folder to export.
2. Select all the messages in the folder. This can be done as follows
2.1 Click on a single message in the message list pane
2.2 Press Ctrl+A
3. Use Agent's menu command
"File >> Save Messages As"
with the following options
File Name: [no file extension, and named differently to
any of your existing Thunderbird email folders]
[ ] Append to existing file -- NOT CHECKED
[x] Save raw unformatted message -- CHECKED
File format
(•) Unix message file
Header fields to include
(•) All fields
4. Open the saved file in Notepad++, and use "Search >> Replace"
with the following settings:
i) Find what: ^(From [^:]*)$
ii) Replace with: >\1
iii) Search mode: regular expression
* Screen-shot: <http://imgur.com/Sm5kaQJ>
* Notepad++ <http://notepad-plus-plus.org/>
Save the modified file.
5. In Thunderbird, go to
"Tools >> Account Settings >> Local Folders"
and make a note of the hard drive folder in the setting
"Local directory".
6. Copy the modified file from #4 into the hard drive folder in #5.
7. When you restart Thunderbird, Thunderbird's 'Local Folders' will
have a new folder containing your emails from Agent.
8. If you want to put your imported emails into an IMAP mail account,
import into "Local Folders" first, and then move the emails from
the imported folder into an IMAP account folder while you are online.
Do NOT try importing directly from file into an IMAP account.
9. You cannot import messages into a newsgroup account in Thunderbird.
--
Kind regards
Ralph